#include "settings.h"

#include <QDebug>

Settings::Settings()
{
    qDebug() << "Settings file location: " << mSettings.fileName();
}

void Settings::setValue(QString key, QString value) {
    mSettings.setValue(key, value);
}

QString Settings::getValue(QString key) {
    return mSettings.value(key, "").toString();
}

QString Settings::getValue(QString key, QVariant defaultValue) {
    return mSettings.value(key, defaultValue).toString();
}
